<?php
class UserModel extends Model
{
	// 自动验证设置
	protected $_validate = array
	( 
		array('username','require','用户名必填!',1),
		array('username','','用户名已存在',0,'unique',1), 
	);


	
	
}
?>